package com.lpf.template;

// 具体类B
class ConcreteClassB extends AbstractClass {
    @Override
    protected void step1() {
        System.out.println("ConcreteClassB: 实现步骤 1");
    }

    @Override
    protected void step2() {
        System.out.println("ConcreteClassB: 实现步骤 2");
    }

    @Override
    protected void step3() {
        System.out.println("ConcreteClassB: 覆盖默认的步骤 3");
    }
}
